<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>查询结果</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<script type="text/javascript" src="${ctx}/script/order.js"></script>
		<script type='text/javascript' src='${ctx}/dwr/engine.js'></script>
		<script type='text/javascript' src='${ctx}/dwr/util.js'></script>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
		<style>
<!--
body {
	margin: 0px;
	padding: 0px;
	font-family: "宋体", Basemic, "Arial Narrow";
	font-size: 12px;
}
-->
</style>

	</head>
	<body>
		<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
		<form action="${ctx}/addBillManage.do?method=showcount"
			method="post">
			<input type="hidden" name="count.ostatus" value="para.ostatus">
				<input type="hidden" name="count.id" value="${para.id}" />
			<input type="hidden" name="count.name" value="${para.name}" />
				<input type="hidden" name="count.adddate1"
				value="${para.adddate1}" />
			<input type="hidden" name="count.adddate2"
				value="${para.adddate2}" />
				<input type="hidden" name="chuli"
				value="${chuli}" />
			<table width="98%" align ="center">
			<tr>
				<th height="25px" nowrap class="td_01">
						订单ID
					</th>
					<th nowrap class="td_01">
						订购产品信息
					</th>
					<th nowrap class="td_01">
						价格
					</th>
					<th nowrap class="td_01">
						数量
					</th>
						<th nowrap class="td_01">
						是否开发票
					</th>
						<th nowrap class="td_01">
						产品处理状态
					</th>
					<th nowrap class="td_01">
						处理
					</th>
				</tr>
					<logic:iterate id="xian" name="xian" indexId="index">
						<tr align="center">
						<td nowrap class="td_03" rowspan="${xian.number}">
								<font size="2"><a href="javascript:tiao('${ctx}/addBillManage.do?method=ProductDetail&id=${xian.order}')">${xian.order}</a></font>
								<input type="hidden" name="counts.id" value="${xian.order}">
							</td>
							<logic:iterate id="counts" name="xian" property="list" >
							<logic:equal value="2" name="counts" property="pdvstatus">
							<td nowrap class="td_09">
							<input type="hidden" name="counts.productid" value="${counts.productid}">
							<a href="javascript:theBigPropper3('${ctx}/product/productMessage.do?method=shopDeatails&id=${counts.productid}',1000,1000)">${counts.name}</a>
							</td>
							<td nowrap class="td_09">
							<logic:equal value="0" name="counts" property="hasinvoice">${counts.unitprice}</logic:equal>
							<logic:equal value="1" name="counts" property="hasinvoice">${counts.pricetax}</logic:equal>
							</td>
							<td nowrap class="td_09">
							${counts.number}
							</td>
							<td nowrap class="td_09">
							<logic:equal value="0" name="counts" property="hasinvoice">否</logic:equal>
							<logic:equal value="1" name="counts" property="hasinvoice">是</logic:equal>
							</td>
							<td nowrap class="td_09">
							<logic:equal value="0" name="counts" property="pdvstatus">未处理</logic:equal>
							<logic:equal value="1" name="counts" property="pdvstatus">有货</logic:equal>
							<logic:equal value="2" name="counts" property="pdvstatus">无货</logic:equal>
							<logic:equal value="3" name="counts" property="pdvstatus">物流部反馈</logic:equal>
							</td>
							<td nowrap class="td_09">
							<a href="javaScript:theBigPropper('addBillManage.do?method=wuliuConfirm&counts.productid=${counts.productid}&counts.id=${xian.order}',500,300)" >有货</a>&nbsp;&nbsp;&nbsp;
							<a href="javaScript:theBigPropper('addBillManage.do?method=wuliuConfirm1&counts.productid=${counts.productid}&counts.id=${xian.order}',500,300)" >无货</a>&nbsp;&nbsp;&nbsp;
							</td>
							</logic:equal>
									<logic:notEqual value="2" name="counts" property="pdvstatus">
							<td nowrap class="td_03">
							<input type="hidden" name="counts.productid" value="${counts.productid}">
							<a href="javascript:theBigPropper3('${ctx}/product/productMessage.do?method=shopDeatails&id=${counts.productid}',1000,1000)">${counts.name}</a>
							</td>
							<td nowrap class="td_03">
							<logic:equal value="0" name="counts" property="hasinvoice">${counts.unitprice}</logic:equal>
							<logic:equal value="1" name="counts" property="hasinvoice">${counts.pricetax}</logic:equal>
							</td>
							<td nowrap class="td_03">
							${counts.number}
							</td>
							<td nowrap class="td_03">
							<logic:equal value="0" name="counts" property="hasinvoice">否</logic:equal>
							<logic:equal value="1" name="counts" property="hasinvoice">是</logic:equal>
							</td>
							<td nowrap class="td_03">
							<logic:equal value="0" name="counts" property="pdvstatus">未处理</logic:equal>
							<logic:equal value="1" name="counts" property="pdvstatus">有货</logic:equal>
							<logic:equal value="2" name="counts" property="pdvstatus">无货</logic:equal>
							<logic:equal value="3" name="counts" property="pdvstatus">物流部反馈</logic:equal>
							</td>
							<td nowrap class="td_03">
							<a href="javaScript:theBigPropper('addBillManage.do?method=wuliuConfirm&counts.productid=${counts.productid}&counts.id=${xian.order}',500,300)" >有货</a>&nbsp;&nbsp;&nbsp;
							<a href="javaScript:theBigPropper('addBillManage.do?method=wuliuConfirm1&counts.productid=${counts.productid}&counts.id=${xian.order}',500,300)" >无货</a>&nbsp;&nbsp;&nbsp;
							</td>
							</logic:notEqual>
							</tr>
							
							</logic:iterate>
					</logic:iterate>
					<tr>
					<td colspan="17" align="right">
						<font size="2"><%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;</font>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>